CanvasUpdated
TheCanvasUpdated
method should copy the content of the specified canvas (owned by this part) to its parent canvas.
void CanvasUpdated (in ODCanvas canvas);
canvas
- A reference to a canvas that is updated.
DISCUSSION
Your part'sCanvasUpdated
method is called when an area of a canvas owned by this part changes and needs to be updated. The owning part's facet calls this method to allow the owning part to copy the image of the offscreen canvas to its parent canvas during updates.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely. This method needs to be implemented only by container parts.EXCEPTIONS
kODErrCannotEmbed
- This part does not support embedding.
SEE ALSO
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Asynchronous Drawing" on page 166 in OpenDoc Programmer's Guide.
"Updating an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help